<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    
    <title></title>
</head>
<script type="text/javascript" src="../js/jquery-1.8.2.js"></script>
      <script type="text/javascript">
      $(document).ready(function(){
	$(function(){
    $("#btn").click(function(){
       $.post("getPerson",{name:$("#name").val()},function(data){
            alert(data);
        });
    });
});
});
</script>
  <body>
  <input type="text" id="name" name="name" value="shugen">
 <input type="button" name="btn" id="btn" value="提交">
  </body>
</html>
